import React, { Component } from 'react';

export default class AddPolicyItem extends Component {
  render() {
    return (
      <div className="mp-box">
        <div className="item-add text-align-center r4">
          <a href="javascript:;" onClick={ this.props.onAdd }>
            <i className="iconfont">
              <span className="mr6">&#xe634;</span>
              新增阈值项
            </i>
          </a>
        </div>
      </div>
    );
  }
}

AddPolicyItem.defaultProps = {
  onAdd: () => {}
}
